package uestc.lj.gulishop.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import uestc.lj.common.to.SkuEsModel;
import uestc.lj.common.utils.R;

import java.util.List;

@FeignClient(value = "gulishop-search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    public R productStatusUP(@RequestBody List<SkuEsModel> skuEsModels);
}
